From: Sergej Proskurin Date: Wed, 16 Aug 2017 13:17:36 +0000 (+0200) Subject: arm/mem_access: Introduce GV2M_EXEC permission X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~1649 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f013bc61ec23f7697f33bbb5a5ed674745ecc223;p=xen.git arm/mem_access: Introduce GV2M_EXEC permission We extend the current implementation by an additional permission, GV2M_EXEC, which will be used to describe execute permissions of PTE's as part of our guest translation table walk implementation. Signed-off-by: Sergej Proskurin Acked-by: Julien Grall Signed-off-by: Stefano Stabellini --- diff --git a/xen/include/asm-arm/page.h b/xen/include/asm-arm/page.h index cef2f28914..b8d641bfaf 100644 --- a/xen/include/asm-arm/page.h +++ b/xen/include/asm-arm/page.h @@ -90,6 +90,7 @@ /* Flags for get_page_from_gva, gvirt_to_maddr etc */ #define GV2M_READ (0u<<0) #define GV2M_WRITE (1u<<0) +#define GV2M_EXEC (1u<<1) #ifndef __ASSEMBLY__